package org.jeecg.modules.basic.storages.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 警戒线管理
 * @Author: jeecg-boot
 * @Date:
 * @Version: V1.0
 */
@Data
@TableName("lwgy_storages_num")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_storages_num对象", description="报警线设置")
public class LwgyStoragesNum implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;

    /**校区*/
    @Excel(name = "校区", width = 15,dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @ApiModelProperty(value = "校区")
    private String studentCampus;
	/**库存数量*/
	@Excel(name = "库存数量", width = 15)
    @ApiModelProperty(value = "库存数量")
    private BigDecimal num;
	/**物品名称*/
	@Excel(name = "最低库存", width = 15)
    @ApiModelProperty(value = "最低库存")
    private BigDecimal minCount;
	/**编号*/
	@Excel(name = "价格", width = 15)
    @ApiModelProperty(value = "价格")
    private java.math.BigDecimal price;
	/**规格*/
	@Excel(name = "物品id", width = 15)
    @ApiModelProperty(value = "物品id")
    private String goodsId;

	/**仓库名字*/
    @Excel(name = "仓库名字", width = 15,dictTable = "lwgy_material_inventory",dicCode = "id",dicText = "inventory_name")
    @Dict(dictTable = "lwgy_material_inventory",dicCode = "id",dicText = "inventory_name")
    private String ckId;

    /**物品名字*/
    private String itemName;
	/**计量单位*/
	@Excel(name = "最高库存", width = 15)
    @ApiModelProperty(value = "最高库存")
    private BigDecimal maxCount;

    /**规格*/
    @Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private java.lang.String specs;
    /**品牌*/
    @Excel(name = "品牌", width = 15)
    @ApiModelProperty(value = "品牌")
    private java.lang.String brand;
    /**计量单位*/
    @Excel(name = "计量单位", width = 15)
    @ApiModelProperty(value = "计量单位")
    private java.lang.String measurement;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;




}
